package com.zeny.edu.stas.client;

import com.zeny.edu.common.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName UcenterClient
 * @Description TODO
 * @Author zeny
 * @Date 2020/3/8 0008 16:43
 */
@FeignClient("zong-ucservice")
public interface UcenterClient {

    /**
     * @Description 统计一天的注册人数
     * @Date 2020/3/8 0008 16:46
     * @param day
     * @return com.zeny.edu.common.ResponseResult
     **/
    @GetMapping("/ucenter/member/countRegister/{day}")
    public ResponseResult registerCount(@PathVariable("day") String day);
}
